package tec;


class Repos
    extends PassagerAbstrait{
    
    
    public Repos(String nom, int destination, Caractere c){
	super(nom,destination,c);
    }
    

   

    protected void choixPlaceMontee(Bus b) { 
	if(b.aPlaceAssise())
	    b.demanderPlaceAssise(this);
	else{
	    b.demanderPlaceDebout(this);
	}
    }

 }

